<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .echart{
            width: 500px;
            height: 500px;
        }
    </style>
</head>
<body>
<div class="echart" id="normal-patent-hotWord"></div>
<script src="../echarts.js"></script>
<script src="echarts-wordcloud.js"></script>
<script>

  var PUBLIC = {
    'echartHotWordDataArr': [
      {name: "information", value: 220}, {name: "method", value: 216}, {
        name: "apparatus",
        value: 212
      }, {name: "invention", value: 198}, {name: "method apparatus", value: 157}, {
        name: "computer program",
        value: 151
      }, {name: "present invention", value: 117}, {name: "different", value: 116}, {
        name: "block",
        value: 110
      }, {name: "reference", value: 105}, {name: "plurality", value: 99}, {
        name: "transmission",
        value: 96
      }, {name: "apparatus method", value: 85}, {name: "video", value: 79}, {
        name: "system",
        value: 75
      }, {name: "system method", value: 74}, {name: "sequence", value: 74}, {name: "various", value: 73}, {
        name: "scalable",
        value: 70
      }, {name: "bitstream", value: 68}, {name: "process", value: 60}, {name: "picture", value: 60}, {
        name: "digital",
        value: 55
      }, {name: "signal", value: 55}, {name: "prediction", value: 53}, {
        name: "frequency",
        value: 53
      }, {name: "identification", value: 53}, {name: "image", value: 52}, {name: "encoder", value: 51}, {
        name: "response",
        value: 50
      }, {name: "enhancement", value: 49}, {name: "method computer", value: 47}, {
        name: "transmitter",
        value: 47
      }, {name: "transponder", value: 47}, {name: "number", value: 46}, {
        name: "predetermined",
        value: 45
      }, {name: "apparatus computer", value: 45}, {name: "possible", value: 44}, {
        name: "output",
        value: 43
      }, {name: "reference picture", value: 43}, {name: "control", value: 42}, {
        name: "particular",
        value: 41
      }, {name: "second", value: 40}, {name: "problem", value: 40}, {name: "electronic", value: 40}, {
        name: "device",
        value: 39
      }, {name: "program product", value: 39}, {name: "decoder", value: 39}, {
        name: "access",
        value: 39
      }, {name: "determine", value: 38}, {name: "efficiency", value: 38}, {
        name: "basis",
        value: 37
      }, {name: "communication", value: 37}, {name: "frequency identification", value: 37}, {
        name: "message",
        value: 36
      }, {name: "method system", value: 36}, {name: "multiple", value: 35}, {
        name: "stream",
        value: 35
      }, {name: "encoder decoder", value: 35}, {name: "quantization parameter", value: 34}, {
        name: "transform",
        value: 34
      }, {name: "structure", value: 33}, {name: "computer", value: 33}, {name: "processing", value: 33}, {
        name: "efficient",
        value: 33
      }, {name: "available", value: 31}, {name: "video signal", value: 31}, {name: "adjacent", value: 31}, {
        name: "memory",
        value: 31
      }, {name: "wherein", value: 30}, {name: "indication", value: 29}, {
        name: "video sequence",
        value: 29
      }, {name: "operation", value: 29}, {name: "scalability", value: 29}, {
        name: "syntax element",
        value: 29
      }, {name: "solution", value: 29}, {name: "sequence parameter", value: 29}, {
        name: "parameter qp",
        value: 28
      }, {name: "transformation", value: 27}, {name: "receiver", value: 26}, {
        name: "b",
        value: 26
      }, {name: "communication system", value: 25}, {name: "decoding", value: 25}, {
        name: "compression",
        value: 25
      }, {name: "copyright", value: 25}, {name: "interrogation signal", value: 24}, {
        name: "interrogation",
        value: 24
      }, {name: "prediction method", value: 23}, {name: "video decoder", value: 23}, {
        name: "generate",
        value: 23
      }, {name: "multi-view", value: 23}, {name: "identification system", value: 23}, {
        name: "difference",
        value: 23
      }, {name: "reference block", value: 23}, {name: "specific", value: 23}, {
        name: "decryption",
        value: 23
      }, {name: "representation", value: 22}, {name: "identification transponder", value: 22}, {
        name: "computer readable",
        value: 22
      }, {name: "high", value: 22}, {name: "element", value: 22}, {
        name: "temporal prediction",
        value: 22
      }, {name: "function", value: 22}, {name: "video encoder", value: 22}, {
        name: "normal",
        value: 22
      }, {name: "successive", value: 22}, {name: "identifier", value: 22}, {name: "value", value: 22}, {
        name: "detection",
        value: 22
      }, {name: "inverse", value: 22}, {name: "method device", value: 22}, {name: "component", value: 21}, {
        name: "order",
        value: 21
      }]
      .slice(0, 40),//热词
    'debug': false,//全局设置debug,默认不显示false
  };
  normalPatentHotWord();//标准必要专利的热词-echart
  function normalPatentHotWord() {
    /*标准必要专利的热词-echart*/
    // 基于准备好的dom，初始化echarts实例
    var chart = echarts.init(document.getElementById('normal-patent-hotWord'));
    var option = {
      title: {
        text: '标准必要专利的热词'
      },
      tooltip: {},
      series: [{
        type: 'wordCloud',
        gridSize: 2,
        sizeRange: [12, 50],
        rotationRange: [-50, 50],
        shape: 'triangle',
        width: 600,
        height: 400,
        textStyle: {
          normal: {
            color: function () {
              return 'rgb(' + [
                Math.round(Math.random() * 160),
                Math.round(Math.random() * 160),
                Math.round(Math.random() * 160)
              ].join(',') + ')';
            }
          },
          emphasis: {
            shadowBlur: 10,
            shadowColor: '#333'
          }
        },
        data: PUBLIC.echartHotWordDataArr
      }]
    };
    chart.setOption(option);
  };
</script>
</body>
</html>